package com.edooteach.tencent.entity.corpmessage;

import com.demo2do.core.utils.Alias;

/**
 * 
 * @author mohanlan
 *
 */
@Alias("CorpMessageType")
public enum CorpMessageType {
    
    TEXT("text", "content"),
    
    IMAGE("image", "media_id"),
    
    VOICE("voice", "media_id"),
    
    VIDEO("video", "media_id"),
    
    FILE("file", "media_id"),
    
    NEWS("new", "articles"),
    
    MPNEWS("mpnews", "mpnews");
  
    CorpMessageType(String alias, String params) {
      this.alias = alias;
      this.params = params;
    }
    
    private String alias;
    
    private String params;
    
    /**
     * 
     * @return
     */
    public String getAlias() {
      return alias;
    }
    
    /**
     * 
     * @return
     */
    public String getParams() {
      return params;
    }

	/**
	 * @param alias the alias to set
	 */
	public void setAlias(String alias) {
		this.alias = alias;
	}

	/**
	 * @param params the params to set
	 */
	public void setParams(String params) {
		this.params = params;
	}
    
}
